package trss;

import java.util.logging.Logger;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;

import org.springframework.stereotype.Component;
@Component
@ManagedBean(name="testJsfBean", eager=true)
@SessionScoped
public class TestJsfBean {
    private static final Logger log = Logger.getLogger(TestJsfBean.class.getName());
    public String getMessage(){
        log.finest("getMessage() called");
        return "Hello, world!";
    }
}
